package com.hns.can.service.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hns.can.common.entity.BaseEntity;

@Entity
@Table(name = "T_BASE_ELECT_FENC_GPS_INFO")
public class BaseElectFencGpsInfoEntity extends BaseEntity {
    
    private String    gpsId;
    private String    fencId;
    private BigDecimal    fencLgt;
    private BigDecimal    fencLtt;
    private Date updateTime;
    private String    updateUser;
    
    /** default constructor */
    public BaseElectFencGpsInfoEntity() {
    }
    
    /** minimal constructor */
    public BaseElectFencGpsInfoEntity(String fencId) {
        this.fencId = fencId;
    }
    
    @Id
    @Column(name = "GPS_ID",
            unique = true,
            nullable = false,
            length = 32)
    public String getGpsId() {
        return this.gpsId;
    }
    
    public void setGpsId(String gpsId) {
        this.gpsId = gpsId;
    }
    
    @Column(name = "FENC_ID",
            nullable = false,
            length = 32)
    public String getFencId() {
        return this.fencId;
    }
    
    public void setFencId(String fencId) {
        this.fencId = fencId;
    }
    
    @Column(name = "FENC_LGT",
            precision = 10,
            scale = 6)
    public BigDecimal getFencLgt() {
        return this.fencLgt;
    }
    
    public void setFencLgt(BigDecimal fencLgt) {
        this.fencLgt = fencLgt;
    }
    
    @Column(name = "FENC_LTT",
            precision = 10,
            scale = 6)
    public BigDecimal getFencLtt() {
        return this.fencLtt;
    }
    
    public void setFencLtt(BigDecimal fencLtt) {
        this.fencLtt = fencLtt;
    }
    
    @Column(name = "UPDATE_TIME",
            length = 7)
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    @Column(name = "UPDATE_USER",
            length = 32)
    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    
}
